package com.fire.nacos.consumer.web;

import com.fire.nacos.consumer.proxy.FeignProxy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Mr.Fire
 * @date 2022/1/5 12:04
 * @desc
 */
@RestController
public class TestController {

    @Autowired
    FeignProxy feignProxy;

    @GetMapping("/product")
    public String getProduct(){
        return feignProxy.getProduct();
    }
}

